package com.bdqn.easybuy1.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    // 实现序列化接口
    public static final long serialVersionUID = 4265461615984916L;

    /**
     * ID
     */
    private Integer id;
    /**
     * 登录名称
     */
    private String loginName;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String password;
    /**
     * 性别
     */
    private Integer sex;
    /**
     *
     */
    private String identityCode;
    /**
     * 电子邮箱
     */
    private String email;
    /**
     * 电话
     */
    private String mobile;
    /**
     * 用户类别
     */
    private Integer type;
}
